{if ${@$form_name@}_{@$f.name@}_has_error}
<!-- Potential errors START -->
	{@foreach from=$f.err_tpl_file_arr item=err_tpl_path key=err_name@}
		{if ${@$form_name@}_{@$f.name@}_error_{@$err_name@}}
		<!-- {@$err_name@} START -->		
<tr>
	<td></td>
	<td colspan="2"><div class="form_error_message">Error: {@include file="$err_tpl_path"@}</div></td>
</tr>
		<!-- {@$err_name@} END -->		
		{/if}
	{@/foreach@}
<!-- Potential errors END -->
{/if}
